﻿namespace Entities.Enumeration {

    public class Costs {

        public const int VechicleCost = 100;
        public const int LabourCost   = 200;
        public const int ITCost       = 300;
        public const int InternalCost = 999;

        public static string GetName(int type) {
            switch (type) {
                case VechicleCost : return "Vechicle Cost";
                case LabourCost   : return "Labour Cost";
                case ITCost       : return "IT Cost";
                default           : return "Internal Cost";
            }
        }

        public static string GetCName(int type) {
            switch (type) {
                case VechicleCost: return "车辆花费";
                case LabourCost  : return "人力花费";
                case ITCost      : return "服务器花费";
                default          : return "内部花费";
            }
        }

    }
}